package admin

import (
	auto "beergo/app/admin/auto/controller"
	"beergo/app/admin/conf"
	"github.com/beego/beego/v2/server/web"
)

type AdminMenuAdminController struct {
	auto.AdminMenuController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/AdminMenu/:id", 		&AdminMenuAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminMenu/info", 		&AdminMenuAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminMenu/scan", 		&AdminMenuAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminMenu/list", 	    &AdminMenuAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminMenu/update", 	&AdminMenuAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminMenu/create", 	&AdminMenuAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminMenu/copy", 	    &AdminMenuAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminMenu/edit", 	    &AdminMenuAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminMenu/delete", 	&AdminMenuAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminMenu/:id/:field", &AdminMenuAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminMenu/choice", &AdminMenuAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/AdminMenu/category", &AdminMenuAdminController{}, "*:CategoryAction")
}
//func (this *AdminMenuAdminController) Prepare() {}
//func (this *AdminMenuAdminController) ListAction() {}
//func (this *AdminMenuAdminController) GetAction() {}
//func (this *AdminMenuAdminController) InfoAction() {}
//func (this *AdminMenuAdminController) ScanAction() {}
//func (this *AdminMenuAdminController) CreateAction() {}
//func (this *AdminMenuAdminController) UpdateAction() {}
//func (this *AdminMenuAdminController) CopyAction() {}
//func (this *AdminMenuAdminController) DeleteAction() {}
//func (this *AdminMenuAdminController) EditAction() {}
//func (this *AdminMenuAdminController) SonsAction() {}
//func (this *AdminMenuAdminController) ChoiceAction() {}
//func (this *AdminMenuAdminController) CategoryAction() {}
